<%--
  Created by IntelliJ IDEA.
  User: SuZePing
  Date: 2021/1/13
  Time: 14:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<%@include file="/WEB-INF/include/include-head.jsp"%>
</head>
<body>
<%@include file="/WEB-INF/include/include-nav.jsp"%>
<div class="container-fluid">
	<div class="row">
<%@include file="/WEB-INF/include/include-sidebar.jsp"%>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
			<h1 id="title" class="page-header">首页</h1>

			<div class="row placeholders">
				<security:authorize access="hasRole('用户管理员') or hasRole('超级管理员')">
					<a href="admin/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/user_admin.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是用户管理员</h4>
							<span class="text-muted">可以进行对于用户的操作</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('角色管理员') or hasRole('超级管理员')">
					<a href="role/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/role_admin.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是角色管理员</h4>
							<span class="text-muted">可以进行对于角色的操作</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('药品管理员') or hasRole('超级管理员')">
					<a href="medicine/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/medicine_admin.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是药品管理员</h4>
							<span class="text-muted">可以进行对于药品的操作</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('器械管理员') or hasRole('超级管理员')">
					<a href="instrument/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/instrument_admin.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是器械管理员</h4>
							<span class="text-muted">可以进行对于器械的操作</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('店员') or hasRole('超级管理员')">
					<a href="sell/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/sell.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是店员</h4>
							<span class="text-muted">可以出售药品或查看药品售出记录</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('医师') or hasRole('超级管理员')">
					<a href="check/get/page.html">
						<div class="col-xs-6 col-sm-3 placeholder">
							<img src="static/img/check.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
							<h4>您是医师</h4>
							<span class="text-muted">可以记录对用户进行的常规检测或查看</span>
						</div>
					</a>
				</security:authorize>
				<security:authorize access="hasRole('超级管理员')">
					<div class="col-xs-6 col-sm-3 placeholder">
						<img src="static/img/admin.jpg" class="img-responsive" alt="Generic placeholder thumbnail">
						<h4>超级管理员</h4>
						<span class="text-muted">拥有全部权限</span>
					</div>
				</security:authorize>
			</div>
		</div>
	</div>
</div>

</body>
</html>

